package com.cj.shiro.service.Impl;

import com.cj.shiro.dao.UserDao;
import com.cj.shiro.domain.UserInfo;
import com.cj.shiro.service.UserInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserInfoServiceImpl implements UserInfoService {
    @Autowired
    private UserDao userDao;

    @Override
    public UserInfo findByUsername(String username) {
        return userDao.findByUserName(username);
    }
}
